package com.renjie.homework;

public class Ironman extends Player implements ISwimming,IRiding,IShooting {
    @Override
    public void run() {
        System.out.println("铁⼈三项运动员即可以游泳也可以跑步还可以骑⻋");
    }

    @Override
    public void ride() {
        System.out.println("铁⼈三项运动员可以骑⻋");
    }

    @Override
    public void shoot() {
        System.out.println("铁⼈三项运动员可以射击");
    }

    @Override
    public void swim() {
        System.out.println("铁⼈三项运动员可以游泳");
    }
}
